//
//  DiscoverTopView.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/6/18.
//

#import "JPCustomView.h"
#import "DiscoverBasicCateListModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface DiscoverTopView : JPCustomView

@property(nonatomic,strong)UIButton *upDownBtn;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,assign)NSInteger sel_index;
@property(nonatomic,copy)NSArray *arr;
@property(nonatomic,copy)void(^updownBlock)(BOOL isUp);
@property(nonatomic,copy)void(^clickBlock)(NSInteger index);
@property(nonatomic,assign)CGFloat currentAvailableWidth;

-(void)refreshDownUI;
-(void)refreshWidth;
-(instancetype)initWithFrame:(CGRect)frame andCurrentAvailableWidth:(CGFloat)currentAvailableWidth;

@end

NS_ASSUME_NONNULL_END
